package net.aiion.weave.spi.feeding;

import net.aiion.weave.spi.messaging.MessageCallback;
import net.aiion.weave.spi.naming.annotations.NotScoped;

@NotScoped
public interface FeedFactory
{
    Feed createFeed(String aName, String aValue);

    void dispatchFeed(String aName, String aValue);

    void dispatchFeed(String aName, String aValue, MessageCallback aMessageCallback);

    void dispatchFeed(Feed aFeed);

    void dispatchFeed(Feed aFeed, MessageCallback aMessageCallback);
}
